import storage laravel

37

use Illuminate\Support\Facades\Storage;

Storage::disk('local')->put('example.txt', 'Contents');
use Illuminate\Support\Facades\Storage;
 
Storage::disk('local')->put('example.txt', 'Contents');
$exists = Storage::disk('s3')->exists('file.jpg');

Comments

Submit
0 Comments